<%@ page contentType="application/json; charset=utf-8" %><%@ page language="java" import="java.util.*" %><%@ page import="java.text.SimpleDateFormat" %><%@ page language="java" import="com.mmbang.util.StringOperation" %><%@ page language="java" import="com.mmbang.search.SearchMapping" %><%
request.setCharacterEncoding("UTF-8");
String keyword = request.getParameter("keyword");
String info_type = request.getParameter("info_type");
System.out.println("keyword111:" + keyword);
keyword = StringOperation.transformSolrMetacharactor(keyword);
System.out.println("keyword2222:" + keyword);
int page_num = Integer.parseInt(request.getParameter("page"));
SearchMapping test = new SearchMapping();
out.print(test.getFactory(info_type).get_all_json(keyword,10, page_num, "2"));
%>